let getdb = function() {
	console.log(1234567)
	//wx.cloud.init()
	const db = wx.cloud.database()
	return db
}
let db = function(name){
	const db = wx.cloud.database().collection(name)
	return db
}
module.exports = {
	getdb,
	db
}
